package com.example.mydemo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("sys_param")
public class SysParam {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("param_code")
    private String paramCode;

    @TableField("param_name")
    private String paramName;

    @TableField("param_value")
    private String paramValue;

    @TableField("param_desc")
    private String paramDesc;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField("is_delete")
    private Long isDelete;
    @TableField("create_by")
    private String createBy;
    @TableField("update_by")
    private String updateBy;
}